package com.personal.service.impl;

import com.personal.mapper.TCardMapper;
import com.personal.pojo.TCardExample;
import com.personal.service.CardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CardServiceImp implements CardService {
    @Autowired
    private TCardMapper cardMapper;
    @Override
    public List selectAllCard() {
        TCardExample example = new TCardExample();
        return cardMapper.selectByExample(example);
    }
}
